/**   
 * Copyright © 2016 深圳市欧唯科技有限公司. All rights reserved.
 * 
 * @Title: PrintJob2.java 
 * @Prject: Web
 * @Package: com.adv.job 
 * @Description: TODO
 * @author: WUQINGLONG   
 * @date: 2016年9月19日 下午5:14:27 
 * @version: V1.0   
 */
package com.adv.job;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
 * @ClassName: PrintJob2
 * @Description: TODO
 * @author: WUQINGLONG
 * @date: 2016年9月19日 下午5:14:27
 */
public class PrintJob2 extends QuartzJobBean {

	private final Logger logger = LoggerFactory.getLogger(getClass());

	@SuppressWarnings("unused")
	private PrintJob printJob;

	@Override
	protected void executeInternal(JobExecutionContext context) throws JobExecutionException {
		logger.debug(this.getClass().toString());
	}

	public void setPrintJob(PrintJob printJob) {
		this.printJob = printJob;
	}

}
